package com.wzdigit.wms.basic.domain.basic;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作分工
 * </p>
 *
 * @author 
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BASIC_WORK_DIVISION")
@KeySequence(value = "BASIC_WORK_DIVISION_SEQ", clazz = Integer.class)
public class WorkDivision extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * WORK_DIVISION_ID
     */
    @TableId(value = "WORK_DIVISION_ID", type = IdType.INPUT)
    private Integer workDivisionId;

    /**
     * 分工代码
     */
    @TableField("WORK_DIVISION_CODE")
    private String workDivisionCode;

    /**
     * 分工类别：1：仓管员分工，2：质检员分工
     */
    @TableField("WORK_DIVISION_TYPE")
    private Integer workDivisionType;

    /**
     * 分工描述
     */
    @TableField("\"DESC\"")
    private String desc;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 是否启用
     */
    @TableField("IS_ENABLED")
    private Integer isEnabled;
}
